home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Bus / A / AciusTN8-92.cpt / AciusTN8-92 / GraphicalButtonsƒ / ButtonPkg-US / ButtonPackage.Ext.rsrc / 4Dte_26011 < prev    next >
Text File  |  1992-10-10  |  863b  |  19 lines

  1. This procedure sets the default PICT ID used for the display of next created buttons.
  2.  
  3. Parameter 1 :
  4. PICT resource ID of up standard button.
  5. Parameter 2 :
  6. PICT resource ID of down standard button.
  7. Parameter 3 :
  8. PICT resource ID of standard disabled button.
  9. Parameter 4 :
  10. PICT resource ID of up two states button.
  11. Parameter 5 :
  12. PICT resource ID of down two states button.
  13. Parameter 6 :
  14. PICT resource ID of two states disabled button.
  15.  
  16. If you use a negative value for an up or down ID parameter, the previous value will be kept.
  17. If you pass 0 for a disabled ID, the picture won't be displayed. If you pass -1, the button will be displayed with a white pattern over. If you pass a negative value under -1, the previous value will be kept.
  18.  
  19. Written by François Marchal, © ACI 1991. Source Code in MPW Pascal and complete explanations in ACI Technical Note 23, May 91